<template>
  <div>
    <van-nav-bar title="红包兑换" left-arrow @click-left="$router.go(-1)" />
    <div class="main">
      <div class="img">
        <img
          src="https://img1.baidu.com/it/u=358762235,736393980&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500"
          alt=""
        />
      </div>
      <p>立即输入红包膨胀码，领取限时超级好礼！</p>
      <label for=""
        ><input type="text" placeholder="请输入你的福利膨胀码"
      /></label>
      <button>领取福利</button>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.main {
  width: 375px;
  height: 694px;
  line-height: 20px;
  background-color: rgba(255, 255, 255, 100);
  text-align: center;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  margin: 12px auto 0;
}
.img {
  width: 335px;
  margin: 0 auto;
}
.img > img {
  width: 100%;
}
.main > p {
  width: 304px;
  height: 24px;
  margin: 20px auto 0;
  color: rgba(16, 16, 16, 100);
  font-size: 16px;
  text-align: left;
  font-family: SourceHanSansSC-regular;
}
.main > label > input {
  width: 239px;
  height: 46px;
  line-height: 20px;
  margin-top: 21px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 100);
  color: rgba(190, 190, 190, 100);
  font-size: 14px;
  text-align: center;
  font-family: Arial;
  border: 1px solid rgba(154, 154, 154, 100);
}
.main > button {
  width: 239px;
  height: 48px;
  border-radius: 4px;
  background-color: rgba(164, 173, 179, 100);
  color: rgba(255, 255, 255, 100);
  font-size: 18px;
  text-align: center;
  margin: 21px auto 0;
  font-family: Microsoft Yahei;
}
</style>
